# include "hash.h"


HashMapElem * newHashMapElem (void *key, void *data) {
        HashMapElem *new = (HashMapElem *) malloc(sizeof(HashMapElem));
        if (!new) logMessage("util.hashs","hash","newHashMapElem","Memória Insuficiente",CRITICAL);
        new->key = key;
        new->data = data;
        return new;
}

void freeHashMapElem (HashMapElem *elem) {
	free(elem);
}
